import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class Test {
    public static void main(String[] args) {
        DateFormat dateFormat1 = new SimpleDateFormat("yyyy年MM-dd hh:mm:ss");
        DateFormat dateFormat2 = new SimpleDateFormat("yyyy年MM-dd hh:mm:ss");
        System.out.println(dateFormat1.format(new Date(System.currentTimeMillis())));
        System.out.println(dateFormat2.format(new Date(System.currentTimeMillis())));
    }
}
